<classes>
  <class name="Invoice" assembly="XmlTest.BO" table="UE_tbInvoice" displayName="UE_InvoiceDisplayName">
    <property name="InvoiceID" type="Guid" readWriteRule="WriteNew" compulsory="true" />
    <property name="InvoiceString" databaseField="InvoiceStringDbColName" default="InvoiceStringDefaultValue" compulsory="true" 
				displayName="InvoiceStringDispName" description="InvoiceStringDescription" keepValuePrivate="true" autoIncrementing="false" >
      <rule name="InvoiceString">
        <add key="minLength" value="5" />
        <add key="maxLength" value="255" />
        <add key="patternMatch" value="####" />
        <add key="patternMatchMessage" value="PattenMatchMessage" />
      </rule>
      <simpleLookupList>
        <item display="StdDisplay" value="StdValue" />
        <item display="SpecDisplay" value="SpecValue" />
        <item display="SimpleDisplay" value="SimpleValue" />
      </simpleLookupList>
    </property>
    <primaryKey>
      <prop name="InvoiceID" />
    </primaryKey>
  </class>
  <class name="InvoiceItem" assembly="XmlTest.BO" displayName="Invoice Item">
    <property name="InvoiceItemID" type="Guid" readWriteRule="WriteNew" databaseField="InvoiceItemIDColName" compulsory="true" displayName="Invoice Item ID Disp Name" description="Invoice Item ID desc" />
    <primaryKey>
      <prop name="InvoiceItemID" />
    </primaryKey>
  </class>
</classes>